//
//  CLUIBaseTableViewController.h
//  CityHunter
//
//  Created by chuanqixiong on 14/11/25.
//  Copyright (c) 2014年 CieNet. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <UIView+Toast.h>
#import "LocationGetObj.h"
#import "UserDataMarco.h"
#import "Common.h"
#import "BaseDataRequest.h"
#import "SVProgressHUD.h"
#import "CLUIBaseViewController.h"

#define RMB @"¥"


#import <MJRefresh.h>
 #define CELLACCESSORYIMG @"pub_title_backbtn_rightarrow"
#define TOP_POINT [NSValue valueWithCGPoint:CGPointMake([UIScreen mainScreen].bounds.size.width / 2, ([UIScreen mainScreen].bounds.size.height  / 2.6) )]
#define kNavigationBtnSpaceHorizontal 5.0f
#define kNavigationBtnSpaceVertical 10.0f
#define kNavigationBtnHeight (self.navigationController.navigationBar.frame.size.height - 2 * kNavigationBtnSpaceVertical)

@interface CLUIBaseTableViewController : UITableViewController <UIGestureRecognizerDelegate,UITableViewDataSource,UITableViewDelegate>

 @property (nonatomic, strong) LocationGetObj *locationSer;

//设置左侧返回图片
- (void)showNavgationWithLeftItem;
//设置左侧返回图片与文字
- (void)showNavgationWithLeftItemWithTitle:(NSString *)title;
//设置左侧返回图片与右侧按钮文字
- (void)showNavBarWithRightTitle:(NSString *)rightTitle
                  andRightAction:(SEL)raction
                   andLeftAction:(SEL)laction
                 andShowRightBtn:(BOOL) isShow;
//设置左侧返回图片与右侧按钮文字
- (void)showNavBarWithRightTitle:(NSString *)rightTitle
                  andRightAction:(SEL)raction
                   andLeftAction:(SEL)laction
                     andFontSize:(CGFloat)size
                   andRightWidth:(CGFloat)width;
//设置左侧返回图片与右侧按钮图片
- (void)showNavBarWithRightImage:(UIImage *)rimage
               andRightBtnAction:(SEL)raction
                    LeftBtnImage:(UIImage *)limage
                andLeftBtnAction:(SEL)laction
                           title:(NSString *)title
                        barColor:(UIColor *)color;
//设置左、右侧文字 或者单独设置某一侧文字
- (void)showNavgationWithLeftTiele:(NSString *)title
                  andleftBtnAction:(SEL)laction
                    WithRightTiele:(NSString *)rtitle
                 andrigheBtnAction:(SEL)raction;
//设置右侧按钮图片
- (void)showNavBarWithRightImage:(UIImage *)rimage andRightBtnAction:(SEL)raction;
//设置右侧双按钮图片
- (void)showNavBarWithRightOneImage:(UIImage *)rightOneImage
                   andRightTwoImage:(UIImage *)rightTwoImage
                  andRightOneAction:(SEL)ractionOne
                   andRighTwoAction:(SEL)ractionTwo;

- (void)showNavBarWithTitle:(NSString *)title;
//设置navbar背景色
- (void)setNavBarBgImgView:(NSString *)imageStr;
//返回事件
- (void)backTo;
//右侧按钮点击事件
-(void)rightBtnAction;
 //
- (void)setAccessoryView:(UITableViewCell *)cell;
- (void)displayMask;
- (void)hideMask;
- (void)hideProgressHUD;
- (void)addTableHeaderViewOrFooterView:(BOOL)bol;
- (BOOL)isPresent;


@end
